﻿<%@ Page PathInChannel="index{Ext}" %>
<%@ OutputCache Duration="3600" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<%=MetaKeywords%>" />
<meta name="description" content="<%=MetaDescription%>" />
<title><%=Channel[Name]%> - <%=Site[Name]%></title>
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _page = "index";
var _webPath = "<%=WebPath%>";
var _lang = "<%=PageLang%>";
</script>
</head>
<body>
<!-- TemplateBeginEditable name="菜单" -->
<div class="Wrap">
	<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL and ParentID IS NULL">
		<div class="Menu">
			<ali:Record>
				<ali:Select>
					<ali:Yes>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><strong><%=Name%></strong></a>
					</ali:Yes>
					<ali:No>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
					</ali:No>
				</ali:Select>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</ali:Menu>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：下载 - Banner" -->
<div class="Wrap">
	<div class="Ad1">
		<ali:Ad Guid="{DE599B30-A477-4d86-AB90-B0C329F75831}">
			<a href="http://www.alibaza.com" target="_blank"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:980px;height:100px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="下载类别" -->
<ali:List Object="Category" Condition="IsDisplay=true and ParentID IS NULL">
	<div class="Wrap">
		<div class="SubMenu">
			<ali:Record>
				<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="搜索" -->
<div class="Wrap">
	<form id="Search" action="<%=BuildUrl("search")%>" target="_blank">
		关键词：
		<input type="text" name="q" size="20" class="Text <%=PageLang%>Font" />
		<input type="submit" value="搜 索" class="Submit" />
		<span>推荐：
			<ali:List Object="Download" Page="1" PageSize="3" Condition="IsDeleted=false and IsChecked=true and Hold > 0" Sort="UpdateTime DESC">
				<ali:Record>
					<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
				</ali:Record>
			</ali:List>
		</span>
	</form>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="路径" -->
<div class="Wrap">
	<div class="Path">当前位置：
		<ali:Path>
			<ali:Record>
				<a href="<%=URL%>" title="<%=Name%>"><%=Name%></a> &gt;&gt; 
			</ali:Record>
		</ali:Path>
		<%=Channel[Name]%>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：下载 - 路径下方" -->
<div class="Wrap">
	<div class="Ad4">
		<ali:Ad Guid="{9C24E2D0-1C90-41ca-8D37-F941E499F633}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad9.jpg" alt="Ad" style="width:980px;height:70px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Block1">
		<!-- TemplateBeginEditable name="广告位：下载 - index - 点击排行上方" -->
		<div class="Ad3">
			<ali:Ad Guid="{97783A77-2936-4dac-ACF9-45A47FC2FD99}">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad3.jpg" alt="Ad" style="width:220px;height:254px" /></a>
			</ali:Ad>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="点击排行" -->
		<h2>点击排行</h2>
		<ali:List Object="Download" Page="1" PageSize="15" Condition="IsDeleted=false and IsChecked=true" Sort="HitCount DESC">
			<ul class="List6">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>" class="No<%=Index + 1%>"><%=Name%></a><span><%=HitCount%></span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="最新专题" -->
		<h2>最新专题</h2>
		<ali:List Object="Special" Page="1" PageSize="5" Condition="IsDisplay=true" Sort="CreateTime DESC">
			<ul class="List6">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="标 签" -->
		<h2>标 签</h2>
		<ali:List Object="Download.Tag" Operation="FilterList(1, 10, null)">
			<ul class="List4">
				<ali:Record>
					<li class="Bg1"><a href="<%=BuildUrl("tag")%>" target="_blank" title="<%=TagName%>"><%=TagName%></a></li>
				</ali:Record>
				<li class="Bg1"><a href="<%=BuildUrl("tag_list")%>" target="_blank" title="更多标签">更多标签...</a></li>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
	
		<!-- TemplateBeginEditable name="平 台" -->
		<h2>平 台</h2>
		<ali:List Object="Platform">
			<ul class="List4">
				<ali:Record>
					<li class="Bg1"><a href="<%=BuildUrl("platform")%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
	
		<!-- TemplateBeginEditable name="授 权" -->
		<h2>授 权</h2>
		<ali:List Object="License">
			<ul class="List4">
				<ali:Record>
					<li class="Bg1"><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
	
		<!-- TemplateBeginEditable name="类 型" -->
		<h2>类 型</h2>
		<ali:List Object="Type">
			<ul class="List4">
				<ali:Record>
					<li class="Bg1"><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
	
		<!-- TemplateBeginEditable name="语 言" -->
		<h2>语 言</h2>
		<ali:List Object="Language">
			<ul class="List4">
				<ali:Record>
					<li class="Bg1"><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="常用软件下载" -->
		<h2>常用软件下载</h2>
		<ali:Menu Condition="IsDisplay=true and CategoryID={4A99A80B-BA2D-464b-BAB6-68F102DA53A3}">
			<ul class="List1">
				<ali:Record>
					<li><a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a></li>
				</ali:Record>
			</ul>
		</ali:Menu>
		<div class="Bottom1"></div>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Block2">
		<!-- TemplateBeginEditable name="最新推荐" -->
		<div class="List2">
			<h3>最新推荐</h3>
			<ali:List Object="Download" Page="1" PageSize="8" Condition="IsDeleted=false and IsChecked=true and IsRecommended=true" Sort="UpdateTime DESC">
				<ul class="List3">
					<ali:Record>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a><span>(<%=Convert.ToDateTime(UpdateTime).ToString("MM-dd")%>)</span></li>
					</ali:Record>
				</ul>
			</ali:List>
			<div class="Bottom2"></div>
		</div>
		<!-- TemplateEndEditable -->
		<!-- TemplateBeginEditable name="最新更新" -->
		<div class="List2">
			<h3>最新更新</h3>
			<ali:List Object="Download" Page="1" PageSize="8" Condition="IsDeleted=false and IsChecked=true" Sort="UpdateTime DESC">
				<ul class="List3">
					<ali:Record>
						<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a><span>(<%=Convert.ToDateTime(UpdateTime).ToString("MM-dd")%>)</span></li>
					</ali:Record>
				</ul>
			</ali:List>
			<div class="Bottom2"></div>
		</div>
		<!-- TemplateEndEditable -->
		<!-- TemplateBeginEditable name="广告位：下载 - index - 最新更新下方" -->
		<div class="Ad2">
			<ali:Ad Guid="{7419C32C-49EF-444f-8629-DD35392F16E8}">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:752px;height:70px" /></a>
			</ali:Ad>
		</div>
		<!-- TemplateEndEditable -->
		<!-- TemplateBeginEditable name="下载类别和下载列表" -->
		<ali:List Object="Category" Condition="IsDisplay=true and ParentID IS NULL">
			<ali:Record>
				<div class="List2">
					<h3><a href="<%=BuildUrl()%>" target="_blank"<%=Style%>><%=Name%>(<%=List[RecordCount]%>)</a></h3>
					<ali:List ID="List" Object="Download" Page="1" PageSize="8" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="Hold DESC, UpdateTime DESC">
						<ul class="List3">
							<ali:Record>
								<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a><span>(<%=Convert.ToDateTime(UpdateTime).ToString("MM-dd")%>)</span></li>
							</ali:Record>
						</ul>
					</ali:List>
					<div class="Bottom2"></div>
				</div>
			</ali:Record>
		</ali:List>
		<!-- TemplateEndEditable -->
	</div>
</div>	

<!-- TemplateBeginEditable name="广告位：下载 - 网页底部" -->
<div class="Wrap">
	<div class="Ad9">
		<ali:Ad Guid="{07CC2E92-DEA7-4b49-9B62-E5A841DD36BF}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad9.jpg" alt="Ad" style="width:980px;height:70px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="友情连接" -->
<ali:List Mark="System" Object="Link" Condition="IsChecked=true">
	<div class="Wrap">
		<div class="Link">
			<h1>友情链接</h1>
			<ul>
				<ali:Record>
					<li>
						<%If Convert.IsDBNull(Logo)%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						<%Else%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a>
						<%EndIf%>
					</li>
				</ali:Record>
			</ul>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Footer">
		<!-- TemplateBeginEditable name="脚注菜单" -->
		<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
			<ali:Record>
				<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
			<hr size="1" />
		</ali:Menu>
		<!-- TemplateEndEditable -->
	
		<%=Footer%>
	</div>
</div>

<%=ICP%>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
